<?xml version='1.0'?>

<gl_extension name="GLES_OES_texture_buffer" reg_no="216">
	<tokens>
		<token name="GL_TEXTURE_BUFFER_OES" value="0x8C2A"/>
		<token name="GL_TEXTURE_BUFFER_BINDING_OES" value="0x8C2A"/>
		<token name="GL_MAX_TEXTURE_BUFFER_SIZE_OES" value="0x8C2B"/>
		<token name="GL_TEXTURE_BINDING_BUFFER_OES" value="0x8C2C"/>
		<token name="GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES" value="0x8C2D"/>
		<token name="GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES" value="0x919F"/>
		<token name="GL_SAMPLER_BUFFER_OES" value="0x8DC2"/>
		<token name="GL_INT_SAMPLER_BUFFER_OES" value="0x8DD0"/>
		<token name="GL_UNSIGNED_INT_SAMPLER_BUFFER_OES" value="0x8DD8"/>
		<token name="GL_IMAGE_BUFFER_OES" value="0x9051"/>
		<token name="GL_INT_IMAGE_BUFFER_OES" value="0x905C"/>
		<token name="GL_UNSIGNED_INT_IMAGE_BUFFER_OES" value="0x9067"/>
		<token name="GL_TEXTURE_BUFFER_OFFSET_OES" value="0x919D"/>
		<token name="GL_TEXTURE_BUFFER_SIZE_OES" value="0x919E"/>
	</tokens>

	<functions>
		<function name="glTexBufferOES" return="void">
			<params>
				<param type="GLenum" name="target"/>
				<param type="GLenum" name="internalformat"/>
				<param type="GLuint" name="buffer"/>
			</params>
			<mappings>
				<mapping from="GLES_EXT_texture_buffer" name="glTexBufferEXT"/>
			</mappings>
		</function>
		<function name="glTexBufferRangeOES" return="void">
			<params>
				<param type="GLenum" name="target"/>
				<param type="GLenum" name="internalformat"/>
				<param type="GLuint" name="buffer"/>
				<param type="GLintptr" name="offset"/>
				<param type="GLsizeiptr" name="size"/>
			</params>
			<mappings>
				<mapping from="GLES_EXT_texture_buffer" name="glTexBufferRangeEXT"/>
			</mappings>
		</function>
	</functions>
</gl_extension>
